#ifndef CLASSDATA_H
#define CLASSDATA_H

#include <QList>

class StudentData;
class ClassData {
public:
    ClassData();
    void setClassNum(const QString& classNum) { m_classNum = classNum; }
    QString getClassNum() const { return m_classNum; }
    QList<StudentData*> getStudentList() const { return m_studentList; }
    void appendStudentList(StudentData* studentList) { m_studentList.append(studentList); }
    void removeStudentList(const int& listNum) { m_studentList.removeAt(listNum); }

private:
    QString m_classNum;
    QList<StudentData*> m_studentList;
};

#endif // CLASSDATA_H
